// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vue from 'vue'
import Vuex from 'vuex'
import store from './store/store'
import App from './App'
import router from './router'
import axios from 'axios'
import 'assets/css/default.css'
import 'swiper/dist/css/swiper.min.css'
import 'assets/css/style.css'

Vue.prototype.$http = axios
Vue.config.productionTip = false
Vue.use(Vuex)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: {App},
  data: {
    eventHub: new Vue()
  }
})
